package vn.bus.controllers;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import vn.bus.service.NearbyConnectionService;

@Path("/json/nearbyconnection")
public class NearbyConnectionController {

	@GET
	public String getAllNearbyConnections()
	{
		NearbyConnectionService nearbyConnsService = new NearbyConnectionService();
		return nearbyConnsService.getAllNearbyConnsJson();
	}
}
